- name: install needed packages
  package: name={{ item }} state=present
  with_items:
  - redis
  tags: redis

- name: start redis
  service: name=redis state=started enabled=yes
  tags: redis
